package com.xiaoshuidi.cloud.module.member.controller.admin.topics.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Schema(description = "跟帖更改状态对象")
public class TopicsPostUpdateStateVO implements Serializable {

    private static final long serialVersionUID = 4777127690239488043L;

    @NotNull(message = "主键不能为空")
    @Schema(description = "主键")
    private Long id;

    @NotNull(message = "操作类型不能为空")
    @Schema(description = "操作类型1，推荐不推荐操作2显示隐藏操作3.审核通过并显示，审核拒绝并隐藏")
    private Integer flag;


    @NotNull(message = "状态值不能为空")
    @Schema(description = "状态值 true-隐藏 推荐 审核通过并显示 false-显示 不推荐 审核拒绝并隐藏")
    private Boolean value;

    @Schema(description = "审核人")
    private String reviewer;
}
